raar.agent.process
Class RAInhibitProcess

java.lang.Object
  extended by raar.agent.process.RAProcess
      extended by raar.agent.process.RASpecialProcess
          extended by raar.agent.process.RAInhibitProcess
All Implemented Interfaces:
java.io.Serializable

public class RAInhibitProcess
extends RASpecialProcess

RAInhibitProcesss is a SpecialProcess with two inputs (inhibitor and inhibitee) and one output. If inhibitor has a value, the output will be this value, else it will be the value of inhibitee.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class raar.agent.process.RAProcess
hasRun, inregister, outregister, register, sourceCode, statement
 
Constructor Summary
RAInhibitProcess()
          Construct an RAInhibitProcess.
 
Method Summary
 java.lang.Object clone()
          Clone.
 java.lang.String getDescription()
          Provide a description; how does the process work, et cetera.
 void run()
          Run the process.
 
Methods inherited from class raar.agent.process.RASpecialProcess
decreaseBinding, execute, getAcceptedDataType, getDataType, increaseBinding, isSpecial, reset, setAcceptedDataType, setSourceCode
 
Methods inherited from class raar.agent.process.RAProcess
acceptsInput, dumpRegisters, get, getInputNames, getInputObjects, getOutputNames, getOutputObjects, getProcessName, getSourceCode, set, setProcessName, suppliesOutput
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAInhibitProcess

public RAInhibitProcess()
                 throws RAException
Construct an RAInhibitProcess. It gets two inputs and one output.

Throws:
RAException
Method Detail

clone

public java.lang.Object clone()
Clone.

Specified by:
clone in class RASpecialProcess

run

public void run()
         throws RAException
Run the process.

Specified by:
run in class RASpecialProcess
Throws:
RAException

getDescription

public java.lang.String getDescription()
Provide a description; how does the process work, et cetera.

Specified by:
getDescription in class RASpecialProcess